#include "client.hpp"

 


 
int main()
{
    client c1;
    //std::cout<<"client"<<std::endl;
    //std::cout<<"pos 3"<<std::endl;
    c1.OpenpipeWrite();
    //std::cout<<"pos 4"<<std::endl;
    std::string message;
    while(true)
    {
        std::cout<<"Enter:";
        std::getline(std::cin,message);
        c1.Sendpipe(message);
    }

    c1.Closepipe();
    return 0;
} 

